home *** CD-ROM | disk | FTP | other *** search
/ The Amiga Classic Collection / The Amiga Classic Collection - Disc 2.iso / Utils / UT106-WB2HDinstall.DMS / UT106-WB2HDinstall.adf / InstallHD < prev    next >
Text File  |  1992-01-09  |  2KB  |  65 lines

  1. .bra {
  2. .ket }
  3. echo "*NHard Disk Software Installation for use with A600HD."
  4.  
  5. ; Must have 2.0 roms for this script to work
  6. version >NIL: 36
  7. if warn
  8.     echo "You must be using 2.0 Kickstart to install the 2.0 Workbench !"
  9.     skip exit
  10. endif
  11.  
  12. assign >NIL: WB_2.x: exists
  13. if warn
  14.     echo "*NWARNING:  The hard disk cannot be found."
  15.     echo "          Make sure the drive is properly prepped and formatted."
  16.     skip exit
  17. endif
  18.  
  19. ; make sure they booted from the Install disk
  20. set target `2.0Install:c/list sys:system.info lformat="%f"`
  21. if "$target" NOT EQ "2.0Install:"
  22.     echo "Please boot from your 2.0Install disk to install the 2.0 software."
  23.     skip exit
  24. endif
  25.  
  26. echo "*NThis will reinstall the system software on the hard disk drive."
  27. echo "Files on the hard disk will be overwritten."
  28. echo "You will need your Workbench 2.0 disk, your Extras 2.0 disk,"
  29. echo "and your AmigaFonts 2.0 disk.*N"
  30.  
  31. ask "Are you sure you want to continue ? (Y/N) "
  32. if warn
  33. path 2.0Install:tools add
  34. stack 20000
  35.  
  36. echo "*NSetting up RAM disk..."
  37. resident c:Delete force
  38. resident c:IconPos force
  39. resident c:Copy force
  40. ;
  41. ; avoid a disk swap by copying this to ram
  42. copy 2.0Install:Copy2WB2/wDisk.info ram: clone quiet
  43. ;
  44. cd ram:
  45. ;
  46. echo "*NCopying Workbench 2.0 to hard disk."
  47. execute 2.0Install:UpdateWB full
  48. ;
  49. ; give the Work partition a nice icon too
  50. copy ram:wDisk.info Work:Disk.info quiet clone
  51. ;
  52. ; cleaning up
  53. ;
  54. delete >NIL: ram:Copy2WB2 all quiet
  55. delete >NIL: ram:tools all quiet
  56. ;
  57. delete >NIL: ram:wDisk.info
  58. ;
  59. cd ram:
  60. ;
  61. endif
  62.  
  63. lab exit
  64.